﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.RecurringJobs.Dto.YCLWLJGZSYC
{
    public class VHanaPurchasePriceForecastToBpmOuput
    {
        [JsonProperty(PropertyName = "data")]
        public List<VHanaPurchasePriceForecastToBpmData> Data { get; set; } = new List<VHanaPurchasePriceForecastToBpmData>();
    }

    public class VHanaPurchasePriceForecastToBpmData
    {
        [JsonProperty(PropertyName = "MONTH_ID")]
        public string MONTH_ID { get; set; }

        [JsonProperty(PropertyName = "DEPT")]
        public string DEPT { get; set; }

        [JsonProperty(PropertyName = "CATEGORY_ID")]
        public string CATEGORY_ID { get; set; }

        [JsonProperty(PropertyName = "CATEGORY")]
        public string CATEGORY { get; set; }

        [JsonProperty(PropertyName = "SUB_CATEGORY_ID")]
        public string SUB_CATEGORY_ID { get; set; }

        [JsonProperty(PropertyName = "SUB_CATEGORY")]
        public string SUB_CATEGORY { get; set; }

        [JsonProperty(PropertyName = "CHILD_CATEGORY_ID")]
        public string CHILD_CATEGORY_ID { get; set; }

        [JsonProperty(PropertyName = "CHILD_CATEGORY")]
        public string CHILD_CATEGORY { get; set; }

        [JsonProperty(PropertyName = "CATEGORY_MANAGER_CODE")]
        public string CATEGORY_MANAGER_CODE { get; set; }

        [JsonProperty(PropertyName = "CATEGORY_MANAGER")]
        public string CATEGORY_MANAGER { get; set; }

        [JsonProperty(PropertyName = "GMV")]
        public decimal? GMV { get; set; }

        [JsonProperty(PropertyName = "CATEGORY_RATIO")]
        public decimal? CATEGORY_RATIO { get; set; }

        [JsonProperty(PropertyName = "TOTAL_RATIO")]
        public decimal? TOTAL_RATIO { get; set; }

        [JsonProperty(PropertyName = "RATIO")]
        public decimal? RATIO { get; set; }


        [JsonProperty(PropertyName = "rownum")]
        public int rownum { get; set; }

        /// <summary>
        /// 前3月
        /// </summary>
        [JsonProperty(PropertyName = "pre_num3")]
        public decimal? pre_num3 { get; set; }
        /// <summary>
        /// 前2月
        /// </summary>
        [JsonProperty(PropertyName = "pre_num2")]
        public decimal? pre_num2 { get; set; }
        /// <summary>
        /// 前1月
        /// </summary>
        [JsonProperty(PropertyName = "pre_num1")]
        public decimal? pre_num1 { get; set; }
    }
}
